package org.xteam.sled.semantic;

import org.xteam.parser.runtime.Span;
import org.xteam.sled.semantic.exp.ExpVar;


public class SolverContext extends ForwardingEvaluationContext {

	public SolverContext(SemanticContext context) {
		super(context);
	}

	@Override
	public IDenotable lookup(String name, Span span) {
		Field f = context.optField(name);
		return new Temporary(new ExpVar(name), f);
	}

}
